﻿using System;

namespace DreamCube.Foundation.Validate
{
    public class ValidateRule
    {
        /// <summary>
        /// 对应验证规则的Key值
        /// </summary>
        public String Key
        {
            get;
            set;
        }

        /// <summary>
        /// 验证规则的正则表达式
        /// </summary>
        public String RegexPattern
        {
            get;
            set;
        }

        /// <summary>
        /// 验证规则的描述
        /// </summary>
        public String Description
        {
            get;
            set;
        }
    }
}
